import taichi as ti

ti.init(debug=True,arch=ti.cpu)

a = ti.field(ti.f32,10)
b = ti.field(ti.f32,10)

@ti.kernel
def shift():
    for i in range(10):
        a[i]=b[i+1]

shift()